package com.c8a.hosp.service;


import com.c8a.yygh.model.hosp.Department;
import com.c8a.yygh.vo.hosp.DepartmentQueryVo;
import com.c8a.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @Author C8A
 * @Date 2021-10-26 10:08
 * @Email 1912327276@qq.com
 */

public interface DepartmentService {

    void save(Map<String, Object> paramMap);

    Page<Department> selectPage(Integer page, Integer limit, DepartmentQueryVo departmentQueryVo);

    void remove(String hoscode, String depcode);

    List<DepartmentVo> findDeptTree(String hoscode);

    //根据科室编号，和医院编号，查询科室名称
    String getDepName(String hoscode, String depcode);

    Department getDepartment(String hoscode, String depcode);
}
